package com.hbpa.pan.server.modules.file.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author: BlcakTiger
 * @date: 2023/10/26 14:52
 * @contact: hsf6661@163.com
 * @description: 创建文件夹参数实体
 */
@Data
@ApiModel(value = "创建文件夹参数实体")
public class CreateFolderPO implements Serializable {

    private static final long serialVersionUID = 2896133979747148114L;

    @ApiModelProperty(value = "加密父文件id",required = true)
    @NotBlank(message = "文件的父id不能为空")
    private String parentId;

    @ApiModelProperty(value = "文件夹名称",required = true)
    @NotBlank(message = "文件夹名称不能为空")
    private String folderName;
}
